/**
 * @(#)ProvinceUtils.java 2017年7月4日
 * Copyright(C) 2017年7月4日 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.util;


import java.util.HashMap;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:zhouchao@zhexinit.com" >周超</a>
 * @version 1.0.0
 */
public class ProvinceUtils {
public static final Logger LOGGER = LoggerFactory.getLogger(ProvinceUtils.class);

    private static Map<String,String> provinceMap=new HashMap<String,String>();
    static{
    	provinceMap.put("-1","全国");
	    provinceMap.put("0","北京");
	    provinceMap.put("1","天津");
	    provinceMap.put("2","上海");
	    provinceMap.put("3","重庆");
	    provinceMap.put("4","黑龙江");
	    provinceMap.put("5","吉林");
	    provinceMap.put("6","辽宁");
	    provinceMap.put("7","内蒙古");
	    provinceMap.put("8","宁夏");
	    provinceMap.put("9","甘肃");
	    provinceMap.put("10","新疆");
	    provinceMap.put("11","陕西");
	    provinceMap.put("12","山西");
	    provinceMap.put("13","山东");
	    provinceMap.put("14","河北");
	    provinceMap.put("15","河南");
	    provinceMap.put("16","西藏");
	    provinceMap.put("17","云南");
	    provinceMap.put("18","四川");
	    provinceMap.put("19","贵州");
	    provinceMap.put("20","广西");
	    provinceMap.put("21","广东");
	    provinceMap.put("22","福建");
	    provinceMap.put("23","湖南");
	    provinceMap.put("24","湖北");
	    provinceMap.put("25","江西");
	    provinceMap.put("26","浙江");
	    provinceMap.put("27","江苏");
	    provinceMap.put("28","安徽");
	    provinceMap.put("29","青海");
	    provinceMap.put("30","海南");
    }
    
    public static String getProvinceName(String province){
    	return provinceMap.get(province);
    }

	public static Map<String, String> getProvinceMap() {
		return provinceMap;
	}

}
